<%@page import="com.ejuornal.bean.Admin"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>左部</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(images/left.gif);
}
-->
</style>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<SCRIPT language=JavaScript>
function tupian(idt){
    var nametu="xiaotu"+idt;
    var tp = document.getElementById(nametu);
    tp.src="images/ico05.gif";//图片ico04为白色的正方形
	
	for(var i=1;i<30;i++)
	{
	  if(i!=idt*1)
	  {
	    var tp2=document.getElementById('xiaotu'+i);
		if(tp2!=undefined)
	    {tp2.src="images/ico06.gif";}//图片ico06为蓝色的正方形
	  }
	}
}

function list(idstr){
	var name1="subtree"+idstr;
	var name2="img"+idstr;
	var objectobj=document.all(name1);
	var imgobj=document.all(name2);
	
	
	//alert(imgobj);
	
	if(objectobj.style.display=="none"){
		for(var i=1;i<10;i++){
			var name3="img"+i;
			var name="subtree"+i;
			var o=document.all(name);
			if(o!=undefined){
				o.style.display="none";
				var image=document.all(name3);
				//alert(image);
				image.src="images/ico04.gif";
			}
		}
		objectobj.style.display="";
		imgobj.src="images/ico03.gif";
	}
	else{
		objectobj.style.display="none";
		imgobj.src="images/ico04.gif";
	}
}

</SCRIPT>

<body>
<table width="198" border="0" cellpadding="0" cellspacing="0" class="left-table01">
  <tr>
    <TD>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		  <tr>
			<td width="207" height="55" background="images/nav01.gif">
				<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
				  <tr>
				<%  
				 HttpSession sessions=request.getSession();   
				 Admin admin = (Admin)session.getAttribute("admin.session");  
				 String name=admin.getAccount();
				%>
					<td width="25%" rowspan="2"><img src="images/ico02.gif" width="35" height="35" /></td>
					<td width="75%" height="22" class="left-font01">您好：<%=name %></td>
				  </tr>
				 
				</table>
			</td>
		  </tr>
		</table>
		


		<!--  会员系统开始    -->
		<TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29">
				<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
						<td width="92%">
							<a href="javascript:" target="mainFrame"  onClick="list('8');" >会员管理</a>
						</td>
					</tr>
				</table>
			</td>
          </tr>		  
        </TABLE>
		<table id="subtree8" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" 
				cellspacing="0" class="left-table02">
				<tr>
				  <td width="9%" height="21" ><img id="xiaotu1" src="images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="user/listUser?emailTest=test" target="mainFrame" class="left-font03" onClick="tupian('1');">会员列表</a></td>
				</tr>
				<tr>
				  <td width="9%" height="21" ><img id="xiaotu2" src="images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="user/findChiefByStatus?value=1" target="mainFrame" class="left-font03" onClick="tupian('2');">未审主编</a></td>
				</tr>
				<tr>
				  <td width="9%" height="21" ><img id="xiaotu21" src="images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="user/findChiefByStatus?value=2" target="mainFrame" class="left-font03" onClick="tupian('21');">通过主编</a></td>
				</tr>
				<tr>
				  <td width="9%" height="21" ><img id="xiaotu21" src="images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="user/blackChiefList" target="mainFrame" class="left-font03" onClick="tupian('21');">拉黑主编</a></td>
				</tr>
      </table>
		<!--  会员系统结束    -->

		

		<!--  消息系统开始    -->
		<TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29">
				<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td width="8%"><img name="img7" id="img7" src="images/ico04.gif" width="8" height="11" /></td>
						<td width="92%">
							<a href="javascript:" target="mainFrame" class="left-font03" onClick="list('7');" >消息管理</a>
						</td>
					</tr>
				</table>
			</td>
          </tr>		  
        </TABLE>
		<table id="subtree7" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" 
				cellspacing="0" class="left-table02">
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu5" src="images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%">
						<a href="admin/user/sysMsgAdd.jsp" target="mainFrame" class="left-font03" onClick="tupian('5');">发送信息</a></td>
				</tr>
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu6" src="images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%">
					<a href="admin/sysMsgList" target="mainFrame" class="left-font03" onClick="tupian('6');">系统通知</a></td>
				</tr>
				
      </table>
		<!--  消息系统结束    -->



       

	  <!--  管理员系统开始    -->
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="8%" height="12"><img name="img2" id="img2" src="images/ico04.gif" width="8" height="11" /></td>
                  <td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('2');" >管理员管理</a></td>
                </tr>
            </table></td>
          </tr>
      </table>
	  
	  <table id="subtree2" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
        
		<tr>
          <td width="9%" height="20" ><img id="xiaotu7" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="admin/adminListAdmin" target="mainFrame" class="left-font03" onClick="tupian('7');">超级管理员</a></td>
        </tr>
        <tr>
          <td width="9%" height="20" ><img id="xiaotu8" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="admin/adminListAdmin2" target="mainFrame" class="left-font03" onClick="tupian('8');">期刊管理员</a></td>
        </tr>
        <tr>
          <td width="9%" height="20" ><img id="xiaotu9" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="admin/adminListAdmin3" target="mainFrame" class="left-font03" onClick="tupian('9');">用户管理员</a></td>
        </tr>
      </table>

	  <!--  管理员系统结束    -->

	  <!--  期刊系统开始    -->
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="8%" height="12"><img name="img3" id="img3" src="images/ico04.gif" width="8" height="11" /></td>
                  <td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('3');" >期刊管理</a></td>
                </tr>
            </table></td>
          </tr>
      </table>
	  
	  <table id="subtree3" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
        <tr>
          <td width="9%" height="20" ><img id="xiaotu10" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="periodical/periodicalAll" target="mainFrame" class="left-font03" onClick="tupian('10');">期刊列表</a></td>
        </tr>
		<tr>
          <td width="9%" height="20" ><img id="xiaotu11" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="periodical/periodicalStatus?value=1" target="mainFrame" class="left-font03" onClick="tupian('11');">已审期刊</a></td>
        </tr>
		<tr>
          <td width="9%" height="20" ><img id="xiaotu12" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="periodical/periodicalStatus?value=0" target="mainFrame" class="left-font03" onClick="tupian('12');">待审期刊</a></td>
        </tr>
        <tr>
          <td width="9%" height="20" ><img id="xiaotu13" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="periodical/periodicalStatus?value=2" target="mainFrame" class="left-font03" onClick="tupian('13');">停刊列表</a></td>
        </tr>
      </table>
	
	  <!--  期刊系统结束    -->

	  

	  <!-- 系统管理系统开始 -->
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="8%"><img name="img5" id="img5" src="images/ico04.gif" width="8" height="11" /></td>
                  <td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('5');">权限管理</a></td>
                </tr>
            </table></td>
          </tr>
      </table>

	  <table id="subtree5" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
        <tr>
          <td width="9%" height="20"><img id="xiaotu14" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="admin/permissionGroupList" target="mainFrame" class="left-font03" onClick="tupian('14');">权限组列表</a></td>
        </tr>
        <tr>
          <td height="20"><img id="xiaotu15" src="images/ico06.gif" width="8" height="12" /></td>
          <td><a href="admin/roleList" target="mainFrame" class="left-font03" onClick="tupian('15');">角色列表</a></td>
        </tr>
      </table>
	  <!-- 系统管理系统结束-->

		
     <!-- 系统帮助开始 -->
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
        <tr>
          <td height="29"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="8%"><img name="img6" id="img6" src="images/ico04.gif" width="8" height="11" /></td>
                <td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('6');">系统管理</a></td>
              </tr>
          </table>
          </td>
        </tr>
      </table>
      
	  <table id="subtree6" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
	  	<tr>
          <td width="9%" height="20"><img id="xiaotu16" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="admin/findById?adsIdStr=1&value=1" target="mainFrame" class="left-font03" onClick="tupian('16');">更改登录背景图片</a></td>
        </tr>
        <!-- <tr>
          <td width="9%" height="20"><img id="xiaotu17" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="admin/sysInfoManage/addSysInfo.jsp" target="mainFrame" class="left-font03" onClick="tupian('17');">添加系统信息</a></td>
        </tr> -->
        <tr>
          <td height="20"><img id="xiaotu18" src="images/ico06.gif" width="8" height="12" /></td>
          <td><a href="admin/listSysInfo" target="mainFrame" class="left-font03" onClick="tupian('18');">系统信息列表</a></td>
        </tr>
      </table>
	 <!-- 系统帮助结束-->

	 <!--广告管理开始-->

		<TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29">
				<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td width="8%"><img name="img9" id="img9" src="images/ico04.gif" width="8" height="11" /></td>
						<td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('9');" >广告管理</a></td>
					</tr>
				</table>
			</td>
          </tr>		  
        </TABLE>

		<table id="subtree9" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
				<tr>
				  <td width="9%" height="22" ><img id="xiaotu19" src="images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="admin/adsManage/addAds.jsp" target="mainFrame" class="left-font03" onClick="tupian('19');">添加广告</a></td>
				</tr>
				<tr>
				  <td width="9%" height="23" ><img id="xiaotu20" src="images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="admin/findAllAds" target="mainFrame" class="left-font03" onClick="tupian('20');">广告信息列表</a></td>
				</tr>
      </table>
		<!--  广告结束    -->
		<!--期刊分类管理开始-->
	   <table width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29">
            	<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
	                <tr>
	                  <td width="8%" height="12"><img name="img4" id="img4" src="images/ico04.gif" width="8" height="11" /></td>
	                  <td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('4');" >期刊分类管理</a></td>
	                </tr>
            	</table>
            </td>
          </tr>
      </table>
	  
	  <table id="subtree4" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
		<tr>
          <td width="9%" height="20" ><img id="xiaotu21" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="admin/categoryManage/AddCategory.jsp" target="mainFrame" class="left-font03" onClick="tupian('21');">添加期刊分类</a></td>
        </tr>
	  	<tr>
          <td width="9%" height="20" ><img id="xiaotu22" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="admin/getAllCategory" target="mainFrame" class="left-font03" onClick="tupian('22');">期刊分类</a></td>
        </tr>
      </table>

      <!--  期刊分类管理结束   -->
	   
	  <!-- 文章评论管理开始 -->
	   <TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29">
				<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td width="8%"  height="12"><img name="img1" id="img1" src="images/ico04.gif" width="8" height="11" /></td>
						<td width="92%"><a href="javascript:void(0)" target="mainFrame" class="left-font03" onClick="list('1');" >文章评论管理</a></td>
					</tr>
				</table>
			</td>
          </tr>		  
        </TABLE>
        <table id="subtree1" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
			<tr>
				<td width="9%"><img id="xiaotu23" src="images/ico06.gif" width="8" height="12" /></td>
				<td width="91%"><a href="admin/findAll" target="mainFrame" class="left-font03" onClick="tupian('23');">评论列表</a></td>
			</tr>
		</table> 
<!--  <table id="subtree1" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
		<tr>
          <td width="9%" height="20" ><img id="xiaotu2" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="artical/getArticalTitlesByStatus" target="mainFrame" class="left-font03" onClick="tupian('2');">文章列表</a></td>
        </tr> -->
	  	<!-- <tr>
          <td width="9%" height="20" ><img id="xiaotu22" src="images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="artical/getArticalTitlesByStatus" target="mainFrame" class="left-font03" onClick="tupian('22');"></a></td>
        </tr> -->
      </table>
       <!-- 文章评论管理结束 --> 
</body>
</html>
